package com.pm2.entity.travelExpense;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicUpdate;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Table(name="db_pm2_travel_boarding")
@DynamicUpdate
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Boarding {
	// @Fields id : 项目主键
	@Id @Column(name="id")
	@GeneratedValue(strategy=GenerationType.AUTO)
	int id;	 
	
	int pid;
	
	int days;
	
	int invoice_numb;
	
	float price;
}
